package com.ruoyi.client.mapper;

import com.ruoyi.bookbus.domain.BookUser;
import org.springframework.stereotype.Repository;

@Repository("ClientUserMapper")
public interface UserMapper {
    // 根据名称查询用户
    BookUser selectByName(String username);
    // 用户注册
    int register(BookUser user);
    // 根据Id查询用户
    BookUser selectById(Long id);
    // 更改用户
    int update(BookUser user);
}
